package com.lanou.projecta_163news.Welcome;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

import com.lanou.projecta_163news.base.BaseActivity;
import com.lanou.projecta_163news.Activity.MainActivity;
import com.lanou.projecta_163news.R;

/**
 * Created by dllo on 16/3/5.
 */
public class GuideActivity extends BaseActivity implements View.OnClickListener {
    private ImageButton startBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        initView();
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {
        startBtn = bindView(R.id.guide_start);
        startBtn.setOnClickListener(this);
    }

    @Override
    protected int getLayout() {
        return R.layout.activity_guide;
    }

    @Override
    public void onClick(View v) {
        Intent intent = new Intent(this, MainActivity.class);
        startActivity(intent);
        finish();
    }
}
